package com.activiti.ActivitiUtils.factory;

import com.activiti.ActivitiUtils.bean.WrappedDeploymentBean;
import org.activiti.engine.repository.Deployment;

/**
 * create by chongyahhh
 * 2020/4/4
 */
public class DeploymentBeanWrappedFactory {
    public static WrappedDeploymentBean inject(Deployment var) {
        return new WrappedDeploymentBean(var.getId(), var.getName(), var.getKey(), var.getCategory(), var.getDeploymentTime(), var.getTenantId());
    }
}
